package com.kp.ai.enums;

import java.util.Arrays;

/**
 * @author : shikaipeng
 * @date : 2025/3/12
 */
public enum FunctionEnums {
    BOOKING_DETAILS("getBookingDetails"),
    CHANGE_BOOKING("changeBooking"),
    CANCEL_BOOKING("cancelBooking"),
    CREATE_BOOKING("createBooking"),

    ;
    private String functionMethodName;

    FunctionEnums(String functionMethodName) {
        this.functionMethodName = functionMethodName;
    }

    public String getFunctionMethodName() {
        return functionMethodName;
    }

    public static String[] getFunctions(){
        return Arrays.stream(FunctionEnums.values()).map( FunctionEnums::getFunctionMethodName).toArray(String[]::new);
    }
}
